﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Templates/Home/Home.Master" AutoEventWireup="true" CodeBehind="SurveyView.aspx.cs" Inherits="VIT.Web.Modules.Survey.SurveyView" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="topcenter"><span><%= GetGlobalResourceObject("Web", "Survey")%></span></div>
    <div class="contentcenter">                    
        <center style="padding-top:30px">
            <asp:Repeater ID="rpt" runat="server">
                <HeaderTemplate>
                    <table style='width: 80%' border='1'>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td style='font-family:arial;font-size:12px;width: 30%'><%# GetGlobalResourceObject("Web", Eval("name").ToString())%></td>
                        <td style='width: 50%' valign='middle'>
                            <div style='font-family:arial;font-size:12px;background-color:<%#Eval("color")%>;width:<%#double.Parse(Eval("per").ToString())<25?"25":Eval("per").ToString()%>%'><%#Eval("per")%>%</div>
                        </td>
                        <td style='font-family:arial;font-size:12px;'><%#Eval("vote")%> <%# GetGlobalResourceObject("Web", "Phieu")%></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </center>
        <asp:Label ID="script" runat="server" Text=""></asp:Label>
    </div>
</asp:Content>
